MOD_NAME= record_mgr
OBJ_FILES = record_mgr.o record_info.o recinfo_cache.o
OUTPUT_FILE = lib$(MOD_NAME).a

CXX = g++ 
INCLUDES = -I ../../include -I .
CXXFLAGS = $(INCLUDES) $(DEBUG)  -Wall
LD_FLAGS = 
TARGET_DIR = ../../bin

$(TARGET_DIR)/$(OUTPUT_FILE) : $(OBJ_FILES)
	ar rcs $@ $(OBJ_FILES)

.PHONY : clean

debug: export DEBUG=-g -DDEBUG
debug: $(TARGET_DIR)/$(OUTPUT_FILE) 

clean :
	rm -f *.o $(TARGET_DIR)/$(OUTPUT_FILE)	
	